package com.jbp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jbp.model.UserRelation;
import com.jbp.utils.PageUtils;
import java.util.Map;

/**
 * 用户关系(UserRelation)表服务接口
 * @author cc
 * @since 2020-06-21 12:06:02
 */
public interface UserRelationService extends IService<UserRelation> {
    PageUtils queryPage(Map<String, Object> params);

    void follow(Integer userId, Integer friendId);

    UserRelation getByUserAndFriendId(Integer userId, Integer friendId);

    PageUtils friendList(Map<String, Object> params);

    void unFollow(Integer userId, Integer friendId);

    void lahei(Integer userId, UserRelation req);

    PageUtils blackList(Map<String, Object> params);
}